package org.example.seckill.vo;

import lombok.*;

/**
 * @author woopsion
 * @date 2025-07-01
 */
@Getter
@AllArgsConstructor
@ToString
public enum orderStatus {
    ORDER_UNPAID(1,"已经拍下，未付款"),
    ORDER_PAID_UNSEND(2,"已支付未发货"),
    ORDER_IN_TRANSIT(3,"已发货,运送中"),
    ORDER_RECEIVED(4,"已收货"),
    ORDER_PROBLEM(5,"售后问题"),
    ORDER_FINISHED(6,"订单完成"),
    ORDER_ERROR_NO_STOCK(7,"库存不足"),
    ORDER_ERROR_NO_RIGHT(8,"无权购买"),
    ORDER_ERROR_HAVE_SECKILL_ORDER(9,"秒杀订单已经存在"),
    ORDER_ERROR_NO_INFO(10,"用户此商品秒杀订单信息");
//    订单状态 1 未付款2已支付未发货3已发货4已收货5已完成6售后问题中
    private final Integer status;
    private final String message;
}
